#This file is part of SocialBlast, an application for updating many social services at once.
#Copyright (C) 2007  Jon Bohlinger, Mike Bruder, Jon Mierow, Thomas Knoll, Jason DeBoer-Moran

#SocialBlast is free software; you can redistribute it and/or
#modify it under the terms of the GNU General Public License
#as published by the Free Software Foundation; either version 2
#of the License, or (at your option) any later version.

#SocialBlast is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#GNU General Public License for more details.

#You should have received a copy of the GNU General Public License
#along with this program; if not, write to the Free Software
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.


#Put any number of programs here 
prog_list = ["Twitter Username: ", "Twitter Password: ", "Pownce Username: ", "Pownce Password: "]

#Make sure that a file named "soc_auth" is in this same directory
outfile = open("soc_auth", "w")

#Goes through each and adds it to the program list
for user_info in prog_list:
    auth = raw_input(user_info)
    outfile.write(auth + "\n")

#Prevent memory leaks
outfile.close()
